package com.zhouwd.zplayer;

import android.content.res.AssetManager;

public class JniUtil {

    static {
        System.loadLibrary("zplayer-lib");
    }

    public static native boolean init(String filePath, AssetManager manager);

    public static native int initAudioFrameNotify(AudioFrameNotify audioFrameNotify);

    public static native int initMediaInitNotify(MediaInitNotify mediaInitNotify);

    public static native int initVideoFrameNotify(JNINotify videoFrameNotify);

    public static native int destoryVideoFrameNotify();

    public static native boolean start();

    public static native boolean pause();

    public static native boolean stop();

    public static native boolean release();

    public static native int step();

    public static native int resize();

}
